<%@ Page Language="C#" MasterPageFile="~/Settings/SettingsMaster.master" AutoEventWireup="true" Inherits="Settings.Sandbox.HtmlParse" Title="Html Parse demo" ValidateRequest="false" Codebehind="HtmlParse.aspx.cs" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

        <h3 class="page">Tests</h3>

        <ul class="items">
            <li><a href="HtmlParse.aspx?test=0">HTML pass through</a></li>
            <li><a href="HtmlParse.aspx?test=1">#!field!# display</a></li>
            <li><a href="HtmlParse.aspx?test=2">#!loop!# iteration</a></li>
            <li><a href="HtmlParse.aspx?test=3">#!loop!# a #!field!#</a></li>
            <li><a href="HtmlParse.aspx?test=4">#!loop!# with index</a></li>
            <li><a href="HtmlParse.aspx?test=5">#!field!# from stack</a></li>
            <li><a href="HtmlParse.aspx?test=6">#!field 3 + 2 !#</a></li>
            <li><a href="HtmlParse.aspx?test=7">#!field (3+2)*2=10? !#</a></li>
            <li><a href="HtmlParse.aspx?test=8">#!if (3+2)=5!#</a></li>
            <li><a href="HtmlParse.aspx?test=9">#!loop!# #!if!#</a></li>                        
        </ul>

        <h3 class="page">Description</h3>
        <div class="description">            
            <span>
                <asp:Literal ID="litDescription" runat="server" />
            </span>
        </div>
        
        <h3 class="page">Code</h3>
        <asp:TextBox ID="txtBox" runat="server" TextMode="MultiLine" Rows="10" width="100%" Text="" cssclass="txtbox code"/>
        <span class="disclaimer">This code is still a little flakey so don't be suprised if it breaks!</span>
        <asp:Button id="btnSub" runat="server" Text="Submit" onclick="btnSub_Click" />
        
        
        <h3 class="page hspace">Result</h3>
        <div class="result">
            <asp:Literal ID="litRender" runat="server" />
        </div>        
    
</asp:Content>


